package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ResparaextDao;
import com.xy.gateway.model.Resparaext;
import com.xy.gateway.service.ResparaextService;

@Service
@Transactional
public class ResparaextServiceImpl extends BaseServiceImpl<Resparaext> implements
		ResparaextService {
	private ResparaextDao resparaextDao;

	public ResparaextServiceImpl(ResparaextDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.resparaextDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return resparaextDao.checkExist("Resparaext", paraName, paraValue);
	}

	@Override
	public List<Resparaext> getResparaext(Map<String, Object> map) {
		return resparaextDao.getResparaext(map);
	}
	@Override
	public Pagination getResparaextByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return resparaextDao.getResparaextByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Resparaext save(Resparaext resparaext1) {return super.save(resparaext1);}
}